<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			this.$store.commit("login")
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	@import 'uview-ui/index.scss';

	//默认灰色
	page {
		background-color: #ededed;
		width: 750rpx;
		overflow-x: hidden;
	}

	// 白色背景
	.page {
		background-color: #FFF;
		width: 750rpx;
		overflow-x: hidden;
		min-height: 100vh;
	}
</style>